package org.grottarossa.data.exception;

public class DataSourceException extends Exception
{

	private static final long serialVersionUID = -5861293151329004599L;

	public enum DataSourceErrorCode
	{
		DATASOURCE_NOT_FOUND;
	}

	private DataSourceErrorCode errorCode;

	public DataSourceException(String javaError, DataSourceErrorCode errCode) {
		super(javaError);
		this.errorCode = errCode;

	}

	public DataSourceException(String msg)
	{
		super(msg);
	}
}
